PerformanceTimelineDomain

class PerformanceTimelineDomain : Domain

Reporting of performance timeline events, as specified in https://w3c.github.io/performance-timeline/#dom-performanceobserver.

This API is marked as experimental in protocol definition and can change in the future.

Functions

description
Link copied to clipboard
fun description(): String
Returns domain description.
enable
Link copied to clipboard
fun enable(input: EnableRequest): Single<RequestResponseFrame>
Previously buffered events would be reported before method returns.
events
Link copied to clipboard
fun events(): Flowable<Event>
Returns flowable capturing all domains events.
fun events(filter: Predicate<Event>): Flowable<Event>
Returns flowable capturing all domains events matching predicate.
fun <T : Event> events(eventClass: Class<T>): Flowable<T>
Returns flowable capturing all domain events of a given type.
fun <T : Event> events(eventClass: Class<T>, filter: Predicate<T>): Flowable<T>
Returns flowable capturing all domain events of a given type matching predicate.
getDependencies
Link copied to clipboard
open override fun getDependencies(): List<Domain>
Returns list of dependant domains that should be enabled prior to enabling this domain.
name
Link copied to clipboard
fun name(): String
Returns domain name.
timelineEventAdded
Link copied to clipboard
fun timelineEventAdded(): Flowable<TimelineEventAddedEvent>
Sent when a performance timeline event is added.

Sources

jvm source
Link copied to clipboard